<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
	xmlns:app="http://schemas.android.com/apk/res-auto"
	xmlns:tools="http://schemas.android.com/tools"
	android:layout_width="match_parent"
	android:layout_height="match_parent"
	tools:context=".ContainerActivity">

	<com.google.android.material.appbar.AppBarLayout
		android:layout_width="match_parent"
		android:layout_height="wrap_content"
		android:theme="@style/Theme.Stuff.AppBarOverlay">

		<androidx.appcompat.widget.Toolbar
			android:id="@+id/toolbar"
			android:layout_width="match_parent"
			android:layout_height="?attr/actionBarSize"
			android:background="?attr/colorPrimary"
			app:popupTheme="@style/Theme.Stuff.PopupOverlay" />

	</com.google.android.material.appbar.AppBarLayout>

	<!-- todo maybe path -->

	<androidx.recyclerview.widget.RecyclerView
		android:id="@+id/stuffRecycler"
		android:layout_width="match_parent"
		android:layout_height="match_parent"
		app:layout_behavior="@string/appbar_scrolling_view_behavior" />

	<include
		android:id="@+id/empty_state"
		layout="@layout/empty_state" />

	<androidx.constraintlayout.widget.ConstraintLayout
		android:id="@+id/standard_bottom_sheet"
		android:layout_width="match_parent"
		android:layout_height="wrap_content"
		android:theme="@style/Theme.Stuff.BottomSheetDialog"
		app:behavior_fitToContents="true"
		app:behavior_hideable="true"
		app:behavior_skipCollapsed="true"
		app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">

		<TextView
			android:id="@+id/bottom_stuff_name"
			android:layout_width="wrap_content"
			android:layout_height="wrap_content"
			android:layout_marginStart="16dp"
			android:layout_marginTop="16dp"
			android:text=""
			android:textAppearance="@style/TextAppearance.AppCompat.Display1"
			app:layout_constraintStart_toStartOf="parent"
			app:layout_constraintTop_toTopOf="parent" />

		<TextView
			android:id="@+id/bottom_stuff_description"
			android:layout_width="wrap_content"
			android:layout_height="wrap_content"
			android:layout_marginStart="16dp"
			android:layout_marginTop="32dp"
			android:layout_marginBottom="16dp"
			android:text=""
			android:textAppearance="@style/TextAppearance.AppCompat.Body1"
			app:layout_constraintBottom_toBottomOf="parent"
			app:layout_constraintStart_toStartOf="parent"
			app:layout_constraintTop_toBottomOf="@id/bottom_stuff_name" />

		<!-- todo touch tint -->
		<ImageView
			android:id="@+id/bottom_delete"
			android:layout_width="wrap_content"
			android:layout_height="wrap_content"
			android:layout_marginTop="16dp"
			android:layout_marginEnd="16dp"
			android:contentDescription="TODO"
			android:src="@drawable/delete"
			app:layout_constraintEnd_toEndOf="parent"
			app:layout_constraintTop_toTopOf="parent" />

		<!-- todo touch tint -->
		<ImageView
			android:id="@+id/bottom_edit"
			android:layout_width="wrap_content"
			android:layout_height="wrap_content"
			android:layout_marginTop="16dp"
			android:layout_marginEnd="16dp"
			android:contentDescription="TODO"
			android:src="@drawable/edit"
			app:layout_constraintEnd_toStartOf="@id/bottom_delete"
			app:layout_constraintTop_toTopOf="parent" />

	</androidx.constraintlayout.widget.ConstraintLayout>

	<!-- todo hide on scroll -->
	<com.google.android.material.floatingactionbutton.FloatingActionButton
		android:id="@+id/fab"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_gravity="bottom|end"
		android:layout_marginEnd="@dimen/fab_margin"
		android:layout_marginBottom="16dp"
		android:contentDescription="TODO"
		app:srcCompat="@drawable/add" />


</androidx.coordinatorlayout.widget.CoordinatorLayout>